package com.ruoyi.health.report.domain.zkxc;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author ChenYF
 * @date 2025-09-10 15:23
 */
@Data
public class GxyResult {
    private String undiseseRe;
    private String undiseasePerformance;
    private String bloodRe;
    private String options;
    private GXYEntity mGXYEntity;
    private TiZhiReListBeanItem mTiZhiReListBeanItem;
    private GXYTotalBeanItem mGXYTotalBeanItem;
    private String scoreHighBloodPressureRe;
    private String scoreHighBloodPressure;

    @Data
    private class GXYEntity {
        private String maxCondition;
        private Map<String, String> map;
        private Float maxScore;
    }

    @Data
    private class TiZhiReListBeanItem {
        private List<String> acupointAdjustment;
        private String herbalAdjustment; // "当归、红花、川芎、丹参、赤芍、鸡血藤、桃仁",
        private String bodyCondition; // "气郁质",
        private String adjustmentPrinciple; // "疏肝解郁",
        private String dietAdjustment; // "食宜辛温",
        private String lifestyleAdjustment; // "生活规律，宜动不宜静，调畅情志"
    }

    @Data
    private class GXYTotalBeanItem {
        private String usage; // "丸剂，早晚分2次服用。",
        private Sysmtoms symptoms; //
        private String prescription; // "六味地黄丸（宋·钱乙《小儿药证直诀》）加减。（C级，强推荐）",
        private String diagnosis_result; // "肝肾阴虚证",
        private String treatment_principle; // "滋补肝肾。",
        private String organ; // "肝+肾+心包",
        private String herbal_composition; // "熟地黄，山萸肉，干山药，泽泻，茯苓去皮，牡丹皮，上为末，炼蜜为丸，如梧桐子大。",
        private String modifications; // "若腰酸腰痛明显，可加杜仲、桑寄生以补肾益精；若虚火明显者，可加知母、玄参等加强清热泻火之力；若患者眩晕明显者，可加用天麻、杜仲等平肝潜阳；若患者兼有肝肾不足所致视物不清及目睛涩痛等症，可加用枸杞子、菊花着重滋补肝肾以明目，名杞菊地黄丸；若患者兼有腰痛脚软、下半身冷感、小便频多、下肢水肿等肾阳不足诸症，可加用桂枝和附子温肾助阳，即金匮肾气丸。"

        @Data
        private class Sysmtoms {
            private String main_symptoms; // "眩晕、头痛、腰酸、膝软、五心烦热。",
            private String secondary_symptoms; // "心悸、失眠、耳鸣、健忘、舌红少苔、脉弦细而数。"
        }
    }
}
